<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>

<div id="content">
	<div id="main-wrapper">
		<div id="sidebar">
			<ul class="nav">
			
      <li><bean:message key="controlpanel.label"/></li>

				<li>
        <a href="<c:url value="/ShowUser.do"/>"><bean:message key="controlpanel.user"/></a>
						<ul>
							<li><a href="<c:url value="/ViewAddUser.do"/>"><bean:message key="controlpanel.add"/></a></li>
							<li><a href="<c:url value="/ShowUser.do"/>"><bean:message key="controlpanel.modify"/></a></li>
							<li><a href="<c:url value="/ViewDeleteUser.do"/>"><bean:message key="controlpanel.delete"/></a></li>
						</ul>
    
        		</li>
        		<li>
        <a href="<c:url value="/ShowGift.do"/>"><bean:message key="controlpanel.gift"/></a>
						<ul>
							<li><a href="<c:url value="/ViewAddGift.do"/>"><bean:message key="controlpanel.add"/></a></li>
							<li><a href="<c:url value="/ShowGift.do"/>"><bean:message key="controlpanel.modify"/></a></li>
							<li><a href="<c:url value="/ViewDeleteGift.do"/>"><bean:message key="controlpanel.delete"/></a></li>
						</ul>
        		</li>
        		<li>
        <a href="<c:url value="/ShowNews.do"/>"><bean:message key="controlpanel.news"/></a>
						<ul>
							<li><a href="<c:url value="/ViewAddNews.do"/>"><bean:message key="controlpanel.add"/></a></li>
							<li><a href="<c:url value="/ShowNews.do"/>"><bean:message key="controlpanel.modify"/></a></li>
							<li><a href="<c:url value="/ViewDeleteNews.do"/>"><bean:message key="controlpanel.delete"/></a></li>
						</ul>
        		</li>
        		<li>
        <a href="<c:url value="/ShowService.do"/>"><bean:message key="controlpanel.service"/></a>
						<ul>
							<li><a href="<c:url value="/ViewAddService.do"/>"><bean:message key="controlpanel.add"/></a></li>
							<li><a href="<c:url value="/ShowService.do"/>"><bean:message key="controlpanel.modify"/></a></li>
							<li><a href="<c:url value="/ViewDeleteService.do"/>"><bean:message key="controlpanel.delete"/></a></li>
						</ul>
        		</li>
        		

			</ul>
		</div>
	</div>

	<div id="main">

	<!--<h2>Welcome in the administration suite of the WISHLISTR website!</h2>-->

<h3><c:out value="<%= (request.getAttribute("msgError"))== null ? "" : request.getAttribute("msgError") %>"></c:out></h3>
<jsp:include page="<%= (session.getAttribute("contentAct"))== null ? "" : session.getAttribute("contentAct").toString() %>"></jsp:include>
	</div> <!-- Closes #main -->
</div>
